package com.zzl.finance.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : spp
 * @date : 2021/12/3 15:18
 */
@Data
@ApidocModel
public class SupplierRelationShowDto {
    @ApidocModelProperty(description = "供应商关系表主键")
    private Integer id;

    @ApidocModelProperty(description = "企业id")
    private String enterpriseId;

    @ApidocModelProperty(description = "企业名称")
    private String enterpriseName;

    @ApidocModelProperty(description = "社会统一代码")
    private String socialCreditCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "添加时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
